define(['plugins/router', 'knockout'], function(router, ko) {
	// child shell :app-cms/system/shell
	var childRouter = router.createChildRouter()
		.makeRelative({
			moduleId: 'app-cms/system',
			fromParent: true//,
			//dynamicHash:':id'
		}).map([
			{route: ['','org-manage*splat'],moduleId: 'org-manage/shell',title: '组织管理',nav: true,hash:'#system/org-manage'},
			{route: 'doc-mamage*splat',moduleId: 'doc-mamage/shell',title: '文档管理',nav: true},
			{route: 'storage-and-preview',moduleId: 'template/index',title: '存储和预览',nav: true},
			{route: 'log-manage',moduleId: 'template/index',title: '日志管理',nav: true},
			{route: 'report-mamage',moduleId: 'template/index',title: '报表管理',nav: true},
			{route: 'system-setting',moduleId: 'template/index',title: '系统设置',nav: true},
			{route: 'config-manage',moduleId: 'template/index',title: '配置管理',nav: true}
		]).buildNavigationModel();
	return {
		router: childRouter,
		activate:function (...rest) {
			debugger;
		}
	}
})